package com.link.base.ext.emp.dao.mybatis.mapper;

import com.link.base.ext.emp.model.ExtEmployee;
import com.link.ext.basic.dao.mapper.BasicExtMapper;

import java.util.List;

public interface ExtEmployeeMapper extends BasicExtMapper<ExtEmployee> {

    /**
     * 更新ESB系统数据
     * @author 刘启鑫
     * @date 2020/8/19 11:40
     */
    void updateEsbData(ExtEmployee employee);

    /**
     * 根据EmpNo查询员工
     *
     * @author 刘启鑫
     * @date 2020/8/24 14:29
     */
    ExtEmployee queryUniqueEmpByEmpNo(ExtEmployee employee);

    /**
     * 根据Shr员工ID查询员工
     *
     * @author 刘启鑫
     * @date 2020/8/22 17:02
     */
    ExtEmployee queryUniqueByShrEmpId(ExtEmployee employee);

    /**
     * 根据员工编码查找员工
     *
     * @author 刘启鑫
     * @date 2020/8/31 11:39
     */
    ExtEmployee queryUniqueByEmpNo(ExtEmployee employee);


    /**
     * 根据用户查询ESB用户
     *
     * @author 王昊
     * @date 2020/9/9 22:01
     */
    List<ExtEmployee> queryESBUsersByUserPage(ExtEmployee extEmployee);

}
